<?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

    <services>
        <service id="fos_js_routing.serializer" class="Symfony\Component\Serializer\Serializer" public="true">
            <argument type="collection">
                <argument type="service" id="fos_js_routing.normalizer" />
            </argument>
            <argument type="collection">
                <argument key="json" type="service" id="fos_js_routing.encoder" />
            </argument>
        </service>

        <service id="fos_js_routing.normalizer" class="Symfony\Component\Serializer\Normalizer\GetSetMethodNormalizer" public="false" />
        <service id="fos_js_routing.encoder" class="Symfony\Component\Serializer\Encoder\JsonEncoder" public="false" />
    </services>
</container>
